<?php defined("MAIN_DIR") or die("No direct access");

$id = UV::rInt($route->getPath(4));

$query = "update `guests` set `come` = '-1' where `id` = '{$id}' limit 1";
if ($db->sendQuery($query) !== false){
	echo $id;
}

?>